var Workport = Workport || {};

Workport.WantDomain = {
	WantHomeRequest : function(){
		this.offset;	//Start
		this.count;		//Number of Apps to be returned
		this.filterBy;	//Optional param (No functionality as of now)
		this.orderBy;	//Optional Param (No functionality as of now)
		this.mode;		//(All/Limited) Specifies whether to return particular set of apps or all apps Default: "Limited"
	},
	WantHomeResponse : function(){
		this.code;
		this.message;
		this.homes = [
		     function(){
		    	 this.appId;
		    	 this.title;
		    	 this.icon;
		    	 this.url;
		    	 this.bookmarked;
		    	 this.description;
		    	 this.type;
		     }
		];
	},
	WantAppRequest : function(){
		this.offset;	//Start
		this.count;		//Number of Apps to be returned
		this.filterBy;	//Optional param (No functionality as of now)
		this.orderBy;	//Optional Param (No functionality as of now)
		this.mode;		//(All/Limited) Specifies whether to return particular set of apps or all apps Default: "Limited"
	},
	WantAppResponse : function(){
		this.code;
		this.message;
		this.apps = [
		     function(){
		    	 this.appId;
		    	 this.title;
		    	 this.icon;
		    	 this.url;
		    	 this.bookmarked;
		    	 this.description;
		    	 this.type;
		     }
		];
	},
	SerachHomeRequest : function(){
		this.offset;//Start
		this.count;//Number of Apps to be returned
		this.key;	//Specifies the Search string
		this.mode;	//(Contains/StartsWith) Specifies which filter mode to use for filter
	},
	SerachHomeResponse : function(){
		this.code;
		this.message;
		this.homes = [
		     function(){
		    	 this.appId;
		    	 this.title;
		    	 this.icon;
		    	 this.url;
		    	 this.bookmarked;
		    	 this.description;
		    	 this.type;
		     }
		];
	},
	SerachAppRequest : function(){
		this.offset;//Start
		this.count;//Number of Apps to be returned
		this.key;	//Specifies the Search string
		this.mode;	//(Contains/StartsWith) Specifies which filter mode to use for filter
	},
	SerachAppResponse : function(){
		this.code;
		this.message;
		this.apps = [
		     function(){
		    	 this.appId;
		    	 this.title;
		    	 this.icon;
		    	 this.url;
		    	 this.bookmarked;
		    	 this.description;
		    	 this.type;
		     }
		];
	},
	AddFavouriteRequest : function(){
		this.appId;
	},
	AddFavouriteResponse : function(){
		this.code;
		this.message;
		this.favourite;
	},
	TabRequest : function(){
		this.appId;
	},
	TabResponse : function(){
		this.code;
		this.message;
		this.tabs = [
		     function(){
		    	 this.tabId;
		    	 this.title;
		    	 this.icon;
		    	 this.url;
		     }
		];
	}
}